<?php

namespace IDock\Insurance\CHAC\Request;

use IDock\Http\RequestFormat;
use IDock\Insurance\CHAC\Response\INonCarProductListResponse;
use IDock\Visitor\NonCar\NonCarProductListVisitor;

class INonCarProductListRequest extends AllCHACRequest
{
    protected $route = 'new/nvhl/suiteInfoQuery';

    protected $response = INonCarProductListResponse::class;

    protected $format = RequestFormat::JSON;

    protected $urlTip = '非车列表';

    /*** @var NonCarProductListVisitor $visitor */
    protected $visitor;

    public function generate(): array
    {
        return [
            'head' => [
                'userName' => $this->visitor->argc['userName'] ?? '',
                'passWord' => $this->visitor->argc['passWord'] ?? '',
                'partnerCode' => $this->visitor->argc['partnerCode'] ?? '',
                'queryId' => $this->getRequestId(),
            ],
            'body' => [
                'suiteCode' => '',
            ]
        ];
    }
}
